package com.example.a2032.adapter;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.viewpager2.adapter.FragmentStateAdapter;

import com.example.a2032.fragment.WatchFaceShowFragment;

import java.util.List;

public class WatchFaceShowAdapter extends FragmentStateAdapter {

    public WatchFaceShowAdapter(@NonNull FragmentActivity fragmentActivity) {
        super(fragmentActivity);

    }


    @NonNull
    @Override
    public Fragment createFragment(int position) {
        return WatchFaceShowFragment.newInstance(position);
    }

    @Override
    public int getItemCount() {
        return 3;
    }
}
